﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


<meta name="description" content="jQuery formValidator表单验证插件" />
<meta name="keywords" content="jQuery,formValidator,插件,表单,验证,插件,javascript,表单验证,提示层" />
<script src="jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="formValidator-4.1.3.js" type="text/javascript" charset="UTF-8"></script>
<script src="formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>

<script type="text/javascript">
$(document).ready(function(){

	$.formValidator.initConfig({formID:"form1",theme:'ArrowSolidBox',mode:'AlertTip',
		onError:function(msg){alert(msg)}
	});
	
	$("#password1").inputValidator({min:1,onError:"密码不能为空,请确认"});
});

</script>
</head>
<body>

<form action="" method="post" name="form1" id="form1">
  <table border="0px" style="font-size:12px" width="630px">
      <td align="right">密码:</td>
      <td><input type="password" id="password1" name="password1"/></td>
    </tr>
    <tr> 
  </table>
  <br />
  
    <input type="submit" name="button" id="button" value="提交" />
  
</form>
</body>
</html>
